package day01;

public class Emp {
    String name;
    int age;
    char gender;
    double salary;
    public void printInfo(){
        System.out.println("---------");
        System.out.println("姓名:"+name);
        System.out.println("年龄:"+age);
        System.out.println("性别"+gender);
        System.out.println("薪资"+salary);

    }
}
